/* 
 * File:   scheduler.h
 * Author: andrey
 *
 * Created on 10 Январь 2011 г., 14:17
 */

#pragma once

#include "win32taskmgr.h"
#include "itask.h"

class CXScheduler
{
public:
    CXScheduler();
    ~CXScheduler();
    
    int SchedulerLoop();

    
private:
    int SendTasks();

    int UpdateTasks();

    ITaskMgr* _taskmgr;
    ITask*    _tasks[20];
};


